# Author: Yu Bin
# Date: 2024/12/31 16:08:19
# E-mail: 853823259@qq.com
import os


def read_conf():
    """
    读取配置
    :return:
    """
    file = open('file6', 'r+', encoding='utf8')
    text_info = file.read()
    print(text_info)
    my_dict = eval(text_info)
    print(my_dict['username'])
    file.close()


if __name__ == '__main__':
    read_conf()
    